home *** CD-ROM | disk | FTP | other *** search
/ Night Owl - The Best of BBS / Night Owl The Best of BBS (NOP-BBS) (Night Owl Publisher) (1994).iso / 022a / jm940310.lha / s / setup < prev    next >
Text File  |  1994-03-08  |  1KB  |  30 lines

  1. failat 9999999
  2.  
  3. rx "exit show('p','JAMMAIL')"
  4. if ${RC} eq 1
  5.   rx "Address 'JAMMAIL' 'Abort'"
  6.   echo "Killing Current Running JamMail!"
  7. endif
  8. rx "exit show('p','LOGPROC')"
  9. if ${RC} eq 0
  10.   run <NIL: >nil: logproc
  11.   wait 2
  12.   echo "Waiting for LogProc"
  13.   rx "Address 'LOGPROC' 'OpenLog jammailfile f Logs:JamMail.log'"
  14.   rx "Address 'LOGPROC' 'OpenLog jammailwind w RAW:0/13/724/198/JamMail Log Window/inactive/NODRAG/SCREENJamLogs'"
  15.   rx "Address 'LOGPROC' 'AddLogGroup JamMailLogs jammailwind jammailfile'"
  16.  
  17.   rx "Address 'LOGPROC' 'OpenLog jm-phonefile f logs:Phone.log'"
  18.   rx "Address 'LOGPROC' 'AddLogGroup jammailphone jm-phonefile'"
  19. else
  20.   Echo "Logging system already active"
  21. endif
  22. if NOT EXISTS logs:Phone.log
  23.   echo  >logs:Phone.log "   Date     Time   Duration      Number    Type      Address        Location"
  24.   echo >>logs:Phone.log "--------- -------- -------- -------------- ---- ------------------- ---------"
  25. endif
  26. echo "Launching JAMMAIL"
  27.  
  28. newshell window=RAW:0/214/360/70/Setup/inactive/NODRAG/SCREENJamLogs from s:setup.cli
  29.  
  30.